#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import numpy as np


b = np.diag([1,2,3,4],k=-1)

print("矩阵为\n",b)

